# -*-coding:utf-8 -*-
# File  : operatorAdd_api.py
# Time  ：2021/11/24 14:45
# Author：author name


from api.manage.manage_base import ManageBase


class OperatorAddApi(ManageBase):
    def __init__(self):
        super().__init__()
        self.url = self.host + "cloudlottery-manage/operator/add"
        self.json = {"termNo": "DD110", "sceneType": "STORE", "withdrawalChannelType": "", "operatorName": "自动化测试运营商",
                     "wholeName": "自动化测试运营商", "province": "北京市", "city": "市辖区", "area": "东城区", "address": "天安门广场711商铺",
                     "linkman": "711", "linkphone": "18271117111", "email": "18271117111@163.com", "serviceTel": "",
                     "saleLotteryType": 3, "operatorOtControl": "8888,20210728,13455",
                     "operatorCtControl": "SZYCCTKLSC001,SZYCCTKLB001,SZYCCTFCSD01,SZYCCTSSQ001,SZYCCTQLC001",
                     "remark": "", "distributionMode": 0, "distributionProfitMode": 1, "ctTotalRatio": 10,
                     "totalRatio": 10, "boolPaymentBill": 0, "operationDataVersion": "SYSTEM_DEFAULT",
                     "systemName": "自动化测试运营商", "systemTheme": "THEME_DEFAULT", "ssqTotalRatio": 10,
                     "fcsdTotalRatio": 10, "qlcTotalRatio": 10, "klbTotalRatio": 10, "klscTotalRatio": 10}
        self.method = "post"
